package com.example.adminframework.model.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 网卡信息
 */
@ApiModel("网卡信息")
public class NetworkCardMonitorInfo {
    @ApiModelProperty("以太网适配器名称")
    private String name;

    @ApiModelProperty("本地链接 IPv6 地址")
    private String ipv6;

    @ApiModelProperty("IPv4 地址")
    private String ipv4;

    @Override
    public String toString() {
        return "NetworkCard{" +
                "name='" + name + '\'' +
                ", ipv6='" + ipv6 + '\'' +
                ", ipv4='" + ipv4 + '\'' +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIpv6() {
        return ipv6;
    }

    public void setIpv6(String ipv6) {
        this.ipv6 = ipv6;
    }

    public String getIpv4() {
        return ipv4;
    }

    public void setIpv4(String ipv4) {
        this.ipv4 = ipv4;
    }
}
